package cn.claim.storage.tools;

import java.util.Arrays;
import java.util.List;

/**
 * Created by claim on 17-7-15.
 */
public class WebPageData implements JSONParsable {
    private NodeData[] nodesData;
    private FileInfoData[] filesData;

    public WebPageData(List<NodeData> nodesData, List<FileInfoData> filesData) {
        this.nodesData = nodesData.toArray(new NodeData[0]);
        this.filesData = filesData.toArray(new FileInfoData[0]);
    }

    public NodeData[] getNodesData() {
        return nodesData;
    }

    public FileInfoData[] getFilesData() {
        return filesData;
    }
}
